package com.jml.aop.jdk动态代理.spring;

import com.jml.aop.demo.TestBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class MainTest {

	public static void main(String[] args) {
		ApplicationContext bf = new ClassPathXmlApplicationContext("/aop/DemoTest001.xml");
		UserService bean = (UserService)bf.getBean("userService");
		bean.add();
	}
}
